<%@page contentType="text/javascript" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="length" value="${fn:length(liste)-1}" />
[
<c:forEach var="li" varStatus="state" items="${liste}">  {"semaine":${li[0]}, "pop": ${li[1]}}<c:if test="${state.index < length}">,</c:if>
</c:forEach>]

